package cn.wolfcode.cms.query;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QueryObject {

    private int page = 1;  //当前页, 默认是1
    private int rows = 10;  //每页显示条数

    public int getStart(){
        return (page - 1) * rows;
    }


}
